/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 */
package com.jeesite.modules.app.valid.entity;


import com.jeesite.common.entity.DataEntity;
import com.jeesite.common.mybatis.annotation.Column;
import com.jeesite.common.mybatis.annotation.Table;
import com.jeesite.common.mybatis.mapper.query.QueryType;

/**
 * 验证码记录表Entity
 * @author zpp
 * @version 2020-01-24
 */
@Table(name="t_valid_code", alias="a", columns={
		@Column(name="id", attrName="id", label="主键", isPK=true),
		@Column(name="valid_code", attrName="validCode", label="验证码"),
		@Column(name="mobile",attrName="mobile",label="手机号"),
		@Column(includeEntity=DataEntity.class),
	}, orderBy="a.update_date DESC"
)
public class TvalidCode extends DataEntity<TvalidCode> {
	
	private static final long serialVersionUID = 1L;
	private Integer validCode;		// 验证码
	private String mobile;//手机号
	
	public TvalidCode() {
		this(null);
	}

	public TvalidCode(String id){
		super(id);
	}
	
	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public Integer getValidCode() {
		return validCode;
	}

	public void setValidCode(Integer validCode) {
		this.validCode = validCode;
	}
	
}